<extend name="Ask/index"/>
<block name="pageContent">
<div class="solve-box">
  <div class="nav-menu">
    <ul>
    <li <if condition="I('type')!='hot'&&I('type')!='rec'">class="on"</if>><a href="{:U('')}">全部回答</a></li>
      <!--<li <if condition="I('type')=='hot'">class="on"</if>><a href="{:U('', array('type'=>'hot'))}">热门回答</a></li>-->
      <!--<li <if condition="I('type')=='rec'">class="on"</if>><a href="{:U('', array('type'=>'rec'))}">推荐回答</a></li>-->
      <li><a href="{:U('User/faq')}">我的提问</a></li>
      <li><a href="{:U('Ask/ask')}">我要提问</a></li>
    </ul>
  </div>
  <div class="solve-con">
    <ul>
    	<volist name="askList" id="vo">
			<li>
				<dt><span class="ask">问</span>{$vo.content}</dt>
				<dd><span class="are">答</span>
				<if condition="$vo['acontent']">
				    {$vo.acontent}
				    <p>{$vo['create_time']|date='Y-m-d',###} <a class="blue" href="{:U('Ask/detail', array('id'=>$vo['id']))}">查看</a>
                        <!--<span class="integral"><em class="red">+{$vo.score}</em>积分</span>-->
                    </p>
				</if>
				</dd>
			</li>
  		</volist>
    </ul>
  </div>
</div>
</block>